package com.csp.jobs;

import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.springframework.beans.factory.annotation.Autowired;

import com.csp.base.service.OtherService;

public class HelloJobA implements Job {
	
	@Autowired
	private OtherService otherService;
  
    @Override
    public void execute(JobExecutionContext context)throws JobExecutionException {  
    		System.out.println("运行了 HelloJobA job任务");  
    		otherService.add();
    }  
}  
